'use strict'

###*
 # @ngdoc function
 # @name xoceanApp.controller:NavbarCtrl
 # @description
 # # NavbarCtrl
 # Controller of the top navbar
###
angular.module('xoceanApp')
  .controller 'NavbarCtrl', ($scope, $location) ->
    $scope.isActive = (route)->
      return $location.path() is route

    return


